package com.mentaleye.dal.dao;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.LoanRecord;
import com.mentaleye.dal.model.LoanRecordExample;

public interface LoanRecordDao {
	
	boolean insertRecord(LoanRecord record);

	boolean updateByExample(LoanRecord record,LoanRecordExample example);
	
	List<LoanRecord> getListByExample(LoanRecordExample example);

	List<Map<String,Object>> getListByMap(Map<String,Object> map);
	
	boolean deleteByExample(LoanRecordExample example);
}
